package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库管理对象 stock
 * 
 * @author zhangx
 * @date 2024-05-07
 */
public class Stock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库ID */
    private Long stockroomId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String stockroomName;

    /** 仓库所在地 */
    @Excel(name = "仓库所在地")
    private String stockroomAddress;

    /** 仓库所属部门 */
    @Excel(name = "仓库所属部门")
    private String stockroomBelong;

    /** 仓库状态 */
    @Excel(name = "仓库状态")
    private Integer stockroomState;

    public void setStockroomId(Long stockroomId) 
    {
        this.stockroomId = stockroomId;
    }

    public Long getStockroomId() 
    {
        return stockroomId;
    }
    public void setStockroomName(String stockroomName) 
    {
        this.stockroomName = stockroomName;
    }

    public String getStockroomName() 
    {
        return stockroomName;
    }
    public void setStockroomAddress(String stockroomAddress) 
    {
        this.stockroomAddress = stockroomAddress;
    }

    public String getStockroomAddress() 
    {
        return stockroomAddress;
    }
    public void setStockroomBelong(String stockroomBelong) 
    {
        this.stockroomBelong = stockroomBelong;
    }

    public String getStockroomBelong() 
    {
        return stockroomBelong;
    }
    public void setStockroomState(Integer stockroomState) 
    {
        this.stockroomState = stockroomState;
    }

    public Integer getStockroomState() 
    {
        return stockroomState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockroomId", getStockroomId())
            .append("stockroomName", getStockroomName())
            .append("stockroomAddress", getStockroomAddress())
            .append("stockroomBelong", getStockroomBelong())
            .append("stockroomState", getStockroomState())
            .toString();
    }
}
